package edu.zzti.fruit1;

public class Average1 {
    public float average(Apple f1, Banana f2, Mango f3){
        float c;
        c=(f1.getWeight()+f2.getWeight()+f3.getWeight())/3;
        return c;

    }
}
